<?php

namespace Home\Model;

use Think\Model;

class ContactModel extends Model {

    protected $_auto = array(
        array('nickname', 'filterSpecialChars', 3, 'function'),
        array('tel', 'filterSpecialChars', 3, 'function'),
        array('content', 'filterSpecialChars', 3, 'function'),
        array('created_at', 'time', 1, 'function'),
        array('updated_at', 'time', 3, 'function'),
    );
}
